<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page pageEncoding="utf-8"%>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Cache-Control" content="no-cache"/>
		<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=2.0"/>
	    <title>${pindao.name}_手机环球网</title>
	    <link rel="stylesheet" href="wap2/css/style.css" type="text/css" />
	</head>
	<body>
		<div class="main">
			<%@ include file="top2.jsp"%>
			<!--
			频道子栏目导航
			-->
			<div class="${nav}">
				<c:if test="${pindaoid==78}">
					<a href="index.html">首页</a> &gt;博客
					<br/>
				</c:if>
				<div style="clear:both;"></div>
				<c:set target="${DE}" property="pindaoId" value="${id}" />
				<c:forEach var="pindao" items="${DE.lanmuList}" varStatus="idx">
					<c:choose>
						<c:when test="${fn:length(pindao.name)<=2}"><c:set var="width" value="50px"/></c:when>
						<c:when test="${fn:length(pindao.name)==3}"><c:set var="width" value="60px"/></c:when>
						<c:when test="${fn:length(pindao.name)==4}"><c:set var="width" value="80px"/></c:when>
						<c:when test="${fn:length(pindao.name)==5}"><c:set var="width" value="90px"/></c:when>
					</c:choose>
					<p style="float:left;margin-left:3px;width:${width};"><a href="lm.html?id=${pindao.id}">${pindao.name}</a></p>
				</c:forEach>
				<div style="clear:both;"></div>
			</div>
			<div>
			<!--
			"频道页-》广告位-页首"
			-->
				<c:set target="${DE}" property="blockId" value="8" />
				<%@ include file="blockcont.jsp"%>
			</div>
			<div class="lanmu-line">
				<img src="wap/img/r.png"/>
				<a href="pd.html?id=${id}">[热点]</a> <a href="gd.html?id=${id}">滚动</a>
			</div>
			<div>
			<!--
			”频道页-》热点推荐“
			-->
				<c:set target="${DE}" property="blockId" value="24" />
				<c:set target="${DE}" property="pindaoId" value="${id}" />
				<%@ include file="blockcont.jsp"%>
			</div>
			<!--
			栏目区块显示
			-->
			<c:set target="${DE}" property="pindaoId" value="${id}" />
			<c:forEach var="pindao" items="${DE.lanmuList}" varStatus="idx">
				<div class="lanmu-line">
					<img src="wap/img/r.png"/>
					<a href="lm.html?id=${pindao.id}">[${pindao.name}]</a>
				</div>
				<div class="block">
					<c:forEach var="news" items="${pindao.list}" varStatus="id">
						<p>
							<a href="view.html?id=${news.id}">${news.shortTitle}</a>
						</p>
					</c:forEach>
				</div>
			</c:forEach>
			<div>
			<!--
			"频道页-》广告位-页底"
			-->
				<c:set target="${DE}" property="blockId" value="13" />
				<%@ include file="blockcont.jsp"%>
			</div>
			<%@ include file="foot.jsp"%>
			<div>
				<img src="http://113.31.27.131:8080/admin/dc.jsp?act=2&v=xhtml&pd=${id}&qd=${qd}" alt="" width="0" height="0"/>
			</div>
		</div>
	</body>
</html>
